import { CreateDate, CreditType, Digdit, DisplayOrder, Entity, Money, PrimaryUuid, UpdateDate } from "@sker/core";

@Entity({name: 'wx_credit_block'})
export class WxCreditBlock {

    @PrimaryUuid()
    id: string;

    @DisplayOrder({ comment: '顺序' })
    displayorder: number;

    @Money({ comment: '原价' })
    originprice: number;

    @Money({ comment: '售价' })
    price: number;

    @Digdit({ comment: '额度' })
    credit: number;

    @CreditType({ comment: '类型' })
    type: string;

    @CreateDate()
    create_date: Date;

    @UpdateDate()
    update_date: Date;

}